package com.east.spark.parttern.facade;

public class CookImpl implements Cook {

	String vegetables;

	@Override
	public String buyVegetables(String _vegetables) {
		System.out.println("买了：" + _vegetables);
		return this.vegetables = _vegetables;
	}

	@Override
	public void washVegetables() {
		System.out.println("开始洗：" + vegetables);

	}

	@Override
	public void cooking() {
		System.out.println("开始炒：" + vegetables);

	}

}
